package com.ruoyi.system.domain;

import java.util.Objects;

/**
 * @author Ly lilongfei
 * @date 2024/6/27
 * @Description
 */
public class Couch {

    public String getCouchId() {
        return couchId;
    }

    public void setCouchId(String couchId) {
        this.couchId = couchId;
    }

    public String getCouchName() {
        return couchName;
    }

    public void setCouchName(String couchName) {
        this.couchName = couchName;
    }

    public Couch(String couchName, String couchId) {
        this.couchName = couchName;
        this.couchId = couchId;
    }

    String couchName;

    public Couch() {
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Couch couch = (Couch) o;
        return Objects.equals(couchName, couch.couchName) && Objects.equals(couchId, couch.couchId);
    }

    @Override
    public int hashCode() {
        return Objects.hash(couchName, couchId);
    }

    String couchId;

}
